﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract
{
    public class DocumentData
    {
        private string _name;
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        private string _description;
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }
        private int _docType;
        public int DocType
        {
            get { return _docType; }
            set { _docType = value; }
        }
        private string _companyCode;
        public string CompanyCode
        {
            get { return _companyCode; }
            set { _companyCode = value; }
        }
        private int _period;
        public int Period
        {
            get { return _period; }
            set { _period = value; }
        }
        private int _year;
        public int Year
        {
            get { return _year; }
            set { _year = value; }
        }
        private string _issuer;
        public string Issuer
        {
            get { return _issuer; }
            set { _issuer = value; }
        }
        private DateTime _published;
        public System.DateTime Published
        {
            get { return _published; }
            set { _published = value; }
        }
        private DateTime _lastUpdated;
        public System.DateTime LastUpdated
        {
            get { return _lastUpdated; }
            set { _lastUpdated = value; }
        }
        private int _status;
        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }
        private string _filePath;
        public string FilePath
        {
            get { return _filePath; }
            set { _filePath = value; }
        }
        public DocumentData()
        {
        
        }
        public DocumentData(string name, string description, int doctype, string companycode,int period, int year, string issuer, DateTime published, DateTime lastupdated, string filename, int status)
        {
            this._name = name;
            this._filePath = filename;
            this._period = period;
            this._year = year;
            this._issuer = issuer;
            this._description = description;
            this._published = published;
            this._lastUpdated = lastupdated;
            this._status = status;
            this._docType = doctype;
            this._companyCode = companycode;
        }
    }
}
